package org.wsdx.Entity;

import java.io.Serializable;
import java.util.List;

/**
 * 店铺类
 * 
 * @author Mmotiy
 * @param address
 *            表示店铺的实际地址
 * @param id
 *            数据库中的主键
 * @param phoneNum
 *            电话号码
 * @param l_commentes
 *            用户建议的链表
 *
 */
public class Restaurant implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String address;
	private String id;
	private String phoneNum;
	private List<Comment> l_commentes;

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPhoneNum() {
		return phoneNum;
	}

	public void setPhoneNum(String phoneNum) {
		this.phoneNum = phoneNum;
	}

	public List<Comment> getL_commentes() {
		return l_commentes;
	}

	public void setL_commentes(List<Comment> l_commentes) {
		this.l_commentes = l_commentes;
	}

	public Restaurant(String address, String id, String phoneNum, List<Comment> l_commentes) {
		super();
		this.address = address;
		this.id = id;
		this.phoneNum = phoneNum;
		this.l_commentes = l_commentes;
	}

	public Restaurant() {
		super();

	}

}
